package com.bsoft.exchange.webservice;

import com.bsoft.exchange.domain.DeptAndDoctorDomain;
import com.bsoft.exchange.response.ResponseEntity;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

@WebService(targetNamespace="http://webservice.exchange.bsoft.com")
public interface  AppointmentWebService {
   
	public ResponseEntity<String> appointmentPay(
			@WebParam(name = "hospitalCode") String hospitalCode,
			@WebParam(name = "hisOrderNumber") String hisOrderNumber,
			@WebParam(name = "outOrderNumber") String outOrderNumber,
			@WebParam(name = "payMode") String payMode,
			@WebParam(name = "agtOrderNumber") String agtOrderNumber,
			@WebParam(name = "payAmount") Double payAmount,
			@WebParam(name = "payTime") String payTime,
			@WebParam(name = "notify") String notify,
			@WebParam(name = "channelOrderNumber") String channelOrderNumber,
			@WebParam(name = "outpatientType" ) Integer outpatientType
			);
	
    @WebMethod
    @WebResult(name="String",targetNamespace="")
    public ResponseEntity<List<DeptAndDoctorDomain>> queryDeptAndDoctor(
    		@WebParam(name = "hospitalCode") String hospitalCode,
    		@WebParam(name = "query") String query,
    		@WebParam(name = "outpatientType" ) Integer outpatientType
			);
}
